import type { App } from 'vue';
import ExtendPanel from './src/extend-panel.component';
import ExtendPanelDesign from './src/designer/extend-panel.design.component';
import { propsResolver } from './src/extend-panel.props';
export * from './src/extend-panel.props';
export { ExtendPanel, ExtendPanelDesign };

export default {
    install(app: App): void {
        app.component(ExtendPanel.name, ExtendPanel);
    },
    register(componentMap: Record<string, any>, propsResolverMap: Record<string, any>): void {
        componentMap['extend-panel'] = ExtendPanel;
        propsResolverMap['extend-panel'] = propsResolver;
    },
    registerDesigner(componentMap: Record<string, any>, propsResolverMap: Record<string, any>): void {
        componentMap['extend-panel'] = ExtendPanelDesign;
        propsResolverMap['extend-panel'] = propsResolver;
    }
};